package org.idea.qiyu.framework.rpc.dubbo.cluster;

import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.extension.Activate;
import org.apache.dubbo.rpc.cluster.*;

/**
 * @Author linhao
 * @Date created in 4:40 下午 2021/8/1
 */
@Activate("zone")
public class ZoneAwareRouterFactory implements RouterFactory {


    @Override
    public Router getRouter(URL url) {
        return new ZoneSelectRouter();
    }
}
